package com.csun.dsms.service;

import com.csun.dsms.comment.core.support.IService;
import com.csun.dsms.model.domain.DsmsUnit;

import java.util.List;
import java.util.Set;

/**
 * @author chisj chisj@foxmail.com
 * @version 1.0.0
 * @date 2021-09-01 13:24
 * @description: TODO
 */
public interface DsmsUnitService extends IService<DsmsUnit> {
    /*
     *单位的查询
     * */
    List<DsmsUnit> query(DsmsUnit dsmsUnit);

    List<DsmsUnit> queryByCondition(DsmsUnit unit);
    /*
     * 查询已绑定单位
     * */
    Set<Long> unitExist();
    //根据片区查询单位
    List<DsmsUnit> queryUnitByAreaId(Long areaId);
    //查询镇id
    Integer selectUnitByPid();
}
